import { Auth, VerifyCodeAction } from '@hw-agconnect/cloud';
import cloud from '@hw-agconnect/cloud';
import { getAGConnect } from './services/AgcConfig';
/*
 * 添加用户
 * */
export const addUser = async (payload) => {
  const functionCallable = agconnect.function().wrap("user-$latest")
  const result = await functionCallable.call({
    //操作类型 新增还是删除等等
    action: 'add',
    payload
  })
  return result.getValue()
}
